<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>TPage后台管理</title>
<link rel="stylesheet" type="text/css" href="${Domain}common/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="${Domain}common/easyui/themes/icon.css">
<script type="text/javascript" src="${Domain}common/easyui/jquery.min.js"></script>
<script type="text/javascript" src="${Domain}common/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="${Domain}common/easyui/locale/easyui-lang-zh_CN.js"></script>
 <link rel="shortcut icon" type="image/x-icon" href="${Domain}favicon.ico" />
 
<style>
		input[type="checkbox"]{
			width:18px;
			height:18px;
			vertical-align: middle;
		}
		#tab .panel-body{
			overflow:hidden;
		}
		.icon-clear{visibility: hidden;}
</style>
</head>
<body class="easyui-layout">


<div data-options="region:'north'" style="height:65px">

<table style="width:100%;height:100%;table-layout:fixed;">
<tr>
<td >
	<a href="" style="display: inline-block">
	<img height="50px" src="${Domain}common/img/logo.png"></img>
	</a>
</td>
<td align="right" style="vertical-align: initial;"  >
<br>
<div id="todayDate"></div>
</td>
<td width="180px" align="right" style="padding-right:5px;" >	
	<span style="font-size: 16px;font-weight: 300;">${(user.account)!}</span> - 
	<span id="sayHelloSpan"></span>
	<a  class="easyui-linkbutton" data-options="iconCls:'icon-user-go',plain:true"
	 href="javascript:exit('${Domain}exit?session_id=${(user.access_token)!}')">
		 退出
	</a>
</td>
</tr>
</table>

  
</div>
       

<div class="easyui-panel" data-options="region:'west',split:true" style="width:200px;" title="功能">


<div class="easyui-accordion" data-options="fit:true,border:false">



<div title="模板管理" data-options="selected:true" style="padding:0 10 10 10">
<ul   class="easyui-tree tpage-tree" data-options="">

<li data-options="iconCls:'icon-application',url:'${Domain}my/template'">
<span>公有模板</span>
</li>
<#if user.role!=1>
<li data-options="iconCls:'icon-application',url:'${Domain}my/template/my'">
<span>私有模板</span>
</li>
</#if>
</ul>    
</div>

<div title="元素管理" data-options="selected:true" style="padding:0 10 10 10">
<ul class="easyui-tree tpage-tree" data-options="">
<li data-options="iconCls:'icon-application',url:'${Domain}my/element'">
<span>公有元素</span>
</li>
<#if user.role!=1>
<li data-options="iconCls:'icon-application',url:'${Domain}my/element/my'">
<span>私有元素</span>
</li>
<li data-options="iconCls:'icon-application',url:'${Domain}my/element/use'">
<span>已用元素</span>
</li>
</#if>
</ul>    
</div>

<div title="数据管理" data-options="selected:true" style="padding:0 10 10 10">
<ul   class="easyui-tree tpage-tree" data-options="">

<li data-options="iconCls:'icon-application',url:'${Domain}my/basedata'">
<span>公有数据</span>
</li>
<#if user.role!=1>
<li data-options="iconCls:'icon-application',url:'${Domain}my/basedata/my'">
<span>私有数据</span>
</li>
</#if>

</ul>    
</div>

<div title="个人中心" data-options="selected:true" style="padding:0 10 10 10">
<ul   class="easyui-tree tpage-tree" data-options="">

<#if user.role==1>
<li data-options="iconCls:'icon-application',url:'${Domain}my/user'">
<span>成员管理</span>
</li>
</#if>
<li data-options="iconCls:'icon-application',url:'${Domain}my/user/info'">
<span>个人信息</span>
</li>
<li data-options="iconCls:'icon-application',url:'${Domain}my/user/pwd'">
<span>修改密码</span>
</li>


</ul>    
</div>

</div>

</div>

<div  data-options="region:'center'" style="overflow:hidden;"  >
<div  id="tab" style="height:100%;width:100%;" class="easyui-tabs" >
</div>
</div>
  
    
<div data-options="region:'south',split:true" style="height:30px;">
    
<div style="text-align: center;margin-top: 5px;"> © ${info.name}.医医通 版权所有     </div>
    
</div>




<!-- 窗口  -->
<div id="tngou-win"  class="easyui-window" data-options="width:600,height:600,closed:true,modal:true"></div>


<script type="text/javascript">
 $(document).ready(function() {
	// 在这里写你的代码...

	$("#sayHelloSpan").text(sayHello());
	$("#todayDate").html(getToday());

});



</script>
<script type="text/javascript" src="${Domain}common/easyui/app.js"></script>
</body>
</html>